/*
 * An XML document type.
 * Localname: super-state
 * Namespace: urn:jbpm.org:jpdl-3.2
 * Java type: x2.orgJpdl3.jbpm.SuperStateDocument
 *
 * Automatically generated - do not modify.
 */
package x2.orgJpdl3.jbpm;


/**
 * A document containing one super-state(@urn:jbpm.org:jpdl-3.2) element.
 *
 * This is a complex type.
 */
public interface SuperStateDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(SuperStateDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("superstate6644doctype");
    
    /**
     * Gets the "super-state" element
     */
    x2.orgJpdl3.jbpm.SuperStateDocument.SuperState getSuperState();
    
    /**
     * Sets the "super-state" element
     */
    void setSuperState(x2.orgJpdl3.jbpm.SuperStateDocument.SuperState superState);
    
    /**
     * Appends and returns a new empty "super-state" element
     */
    x2.orgJpdl3.jbpm.SuperStateDocument.SuperState addNewSuperState();
    
    /**
     * An XML super-state(@urn:jbpm.org:jpdl-3.2).
     *
     * This is a complex type.
     */
    public interface SuperState extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(SuperState.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s9AF6EB416A5C93629A4C02ECFBC1909B").resolveHandle("superstate94efelemtype");
        
        /**
         * Gets a List of "node" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.NodeDocument.Node> getNodeList();
        
        /**
         * Gets array of all "node" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node[] getNodeArray();
        
        /**
         * Gets ith "node" element
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node getNodeArray(int i);
        
        /**
         * Returns number of "node" element
         */
        int sizeOfNodeArray();
        
        /**
         * Sets array of all "node" element
         */
        void setNodeArray(x2.orgJpdl3.jbpm.NodeDocument.Node[] nodeArray);
        
        /**
         * Sets ith "node" element
         */
        void setNodeArray(int i, x2.orgJpdl3.jbpm.NodeDocument.Node node);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "node" element
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node insertNewNode(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "node" element
         */
        x2.orgJpdl3.jbpm.NodeDocument.Node addNewNode();
        
        /**
         * Removes the ith "node" element
         */
        void removeNode(int i);
        
        /**
         * Gets a List of "state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.StateDocument.State> getStateList();
        
        /**
         * Gets array of all "state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.StateDocument.State[] getStateArray();
        
        /**
         * Gets ith "state" element
         */
        x2.orgJpdl3.jbpm.StateDocument.State getStateArray(int i);
        
        /**
         * Returns number of "state" element
         */
        int sizeOfStateArray();
        
        /**
         * Sets array of all "state" element
         */
        void setStateArray(x2.orgJpdl3.jbpm.StateDocument.State[] stateArray);
        
        /**
         * Sets ith "state" element
         */
        void setStateArray(int i, x2.orgJpdl3.jbpm.StateDocument.State state);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "state" element
         */
        x2.orgJpdl3.jbpm.StateDocument.State insertNewState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "state" element
         */
        x2.orgJpdl3.jbpm.StateDocument.State addNewState();
        
        /**
         * Removes the ith "state" element
         */
        void removeState(int i);
        
        /**
         * Gets a List of "task-node" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode> getTaskNodeList();
        
        /**
         * Gets array of all "task-node" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode[] getTaskNodeArray();
        
        /**
         * Gets ith "task-node" element
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode getTaskNodeArray(int i);
        
        /**
         * Returns number of "task-node" element
         */
        int sizeOfTaskNodeArray();
        
        /**
         * Sets array of all "task-node" element
         */
        void setTaskNodeArray(x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode[] taskNodeArray);
        
        /**
         * Sets ith "task-node" element
         */
        void setTaskNodeArray(int i, x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode taskNode);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "task-node" element
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode insertNewTaskNode(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "task-node" element
         */
        x2.orgJpdl3.jbpm.TaskNodeDocument.TaskNode addNewTaskNode();
        
        /**
         * Removes the ith "task-node" element
         */
        void removeTaskNode(int i);
        
        /**
         * Gets a List of "super-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.SuperStateDocument.SuperState> getSuperStateList();
        
        /**
         * Gets array of all "super-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState[] getSuperStateArray();
        
        /**
         * Gets ith "super-state" element
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState getSuperStateArray(int i);
        
        /**
         * Returns number of "super-state" element
         */
        int sizeOfSuperStateArray();
        
        /**
         * Sets array of all "super-state" element
         */
        void setSuperStateArray(x2.orgJpdl3.jbpm.SuperStateDocument.SuperState[] superStateArray);
        
        /**
         * Sets ith "super-state" element
         */
        void setSuperStateArray(int i, x2.orgJpdl3.jbpm.SuperStateDocument.SuperState superState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "super-state" element
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState insertNewSuperState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "super-state" element
         */
        x2.orgJpdl3.jbpm.SuperStateDocument.SuperState addNewSuperState();
        
        /**
         * Removes the ith "super-state" element
         */
        void removeSuperState(int i);
        
        /**
         * Gets a List of "process-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState> getProcessStateList();
        
        /**
         * Gets array of all "process-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState[] getProcessStateArray();
        
        /**
         * Gets ith "process-state" element
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState getProcessStateArray(int i);
        
        /**
         * Returns number of "process-state" element
         */
        int sizeOfProcessStateArray();
        
        /**
         * Sets array of all "process-state" element
         */
        void setProcessStateArray(x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState[] processStateArray);
        
        /**
         * Sets ith "process-state" element
         */
        void setProcessStateArray(int i, x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState processState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "process-state" element
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState insertNewProcessState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "process-state" element
         */
        x2.orgJpdl3.jbpm.ProcessStateDocument.ProcessState addNewProcessState();
        
        /**
         * Removes the ith "process-state" element
         */
        void removeProcessState(int i);
        
        /**
         * Gets a List of "fork" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ForkDocument.Fork> getForkList();
        
        /**
         * Gets array of all "fork" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork[] getForkArray();
        
        /**
         * Gets ith "fork" element
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork getForkArray(int i);
        
        /**
         * Returns number of "fork" element
         */
        int sizeOfForkArray();
        
        /**
         * Sets array of all "fork" element
         */
        void setForkArray(x2.orgJpdl3.jbpm.ForkDocument.Fork[] forkArray);
        
        /**
         * Sets ith "fork" element
         */
        void setForkArray(int i, x2.orgJpdl3.jbpm.ForkDocument.Fork fork);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "fork" element
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork insertNewFork(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "fork" element
         */
        x2.orgJpdl3.jbpm.ForkDocument.Fork addNewFork();
        
        /**
         * Removes the ith "fork" element
         */
        void removeFork(int i);
        
        /**
         * Gets a List of "join" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.JoinDocument.Join> getJoinList();
        
        /**
         * Gets array of all "join" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join[] getJoinArray();
        
        /**
         * Gets ith "join" element
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join getJoinArray(int i);
        
        /**
         * Returns number of "join" element
         */
        int sizeOfJoinArray();
        
        /**
         * Sets array of all "join" element
         */
        void setJoinArray(x2.orgJpdl3.jbpm.JoinDocument.Join[] joinArray);
        
        /**
         * Sets ith "join" element
         */
        void setJoinArray(int i, x2.orgJpdl3.jbpm.JoinDocument.Join join);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "join" element
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join insertNewJoin(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "join" element
         */
        x2.orgJpdl3.jbpm.JoinDocument.Join addNewJoin();
        
        /**
         * Removes the ith "join" element
         */
        void removeJoin(int i);
        
        /**
         * Gets a List of "decision" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.DecisionDocument.Decision> getDecisionList();
        
        /**
         * Gets array of all "decision" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision[] getDecisionArray();
        
        /**
         * Gets ith "decision" element
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision getDecisionArray(int i);
        
        /**
         * Returns number of "decision" element
         */
        int sizeOfDecisionArray();
        
        /**
         * Sets array of all "decision" element
         */
        void setDecisionArray(x2.orgJpdl3.jbpm.DecisionDocument.Decision[] decisionArray);
        
        /**
         * Sets ith "decision" element
         */
        void setDecisionArray(int i, x2.orgJpdl3.jbpm.DecisionDocument.Decision decision);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "decision" element
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision insertNewDecision(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "decision" element
         */
        x2.orgJpdl3.jbpm.DecisionDocument.Decision addNewDecision();
        
        /**
         * Removes the ith "decision" element
         */
        void removeDecision(int i);
        
        /**
         * Gets a List of "end-state" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.EndStateDocument.EndState> getEndStateList();
        
        /**
         * Gets array of all "end-state" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState[] getEndStateArray();
        
        /**
         * Gets ith "end-state" element
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState getEndStateArray(int i);
        
        /**
         * Returns number of "end-state" element
         */
        int sizeOfEndStateArray();
        
        /**
         * Sets array of all "end-state" element
         */
        void setEndStateArray(x2.orgJpdl3.jbpm.EndStateDocument.EndState[] endStateArray);
        
        /**
         * Sets ith "end-state" element
         */
        void setEndStateArray(int i, x2.orgJpdl3.jbpm.EndStateDocument.EndState endState);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "end-state" element
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState insertNewEndState(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "end-state" element
         */
        x2.orgJpdl3.jbpm.EndStateDocument.EndState addNewEndState();
        
        /**
         * Removes the ith "end-state" element
         */
        void removeEndState(int i);
        
        /**
         * Gets a List of "mail-node" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.MailNodeDocument.MailNode> getMailNodeList();
        
        /**
         * Gets array of all "mail-node" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode[] getMailNodeArray();
        
        /**
         * Gets ith "mail-node" element
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode getMailNodeArray(int i);
        
        /**
         * Returns number of "mail-node" element
         */
        int sizeOfMailNodeArray();
        
        /**
         * Sets array of all "mail-node" element
         */
        void setMailNodeArray(x2.orgJpdl3.jbpm.MailNodeDocument.MailNode[] mailNodeArray);
        
        /**
         * Sets ith "mail-node" element
         */
        void setMailNodeArray(int i, x2.orgJpdl3.jbpm.MailNodeDocument.MailNode mailNode);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "mail-node" element
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode insertNewMailNode(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "mail-node" element
         */
        x2.orgJpdl3.jbpm.MailNodeDocument.MailNode addNewMailNode();
        
        /**
         * Removes the ith "mail-node" element
         */
        void removeMailNode(int i);
        
        /**
         * Gets a List of "description" elements
         */
        java.util.List<java.lang.String> getDescriptionList();
        
        /**
         * Gets array of all "description" elements
         * @deprecated
         */
        java.lang.String[] getDescriptionArray();
        
        /**
         * Gets ith "description" element
         */
        java.lang.String getDescriptionArray(int i);
        
        /**
         * Gets (as xml) a List of "description" elements
         */
        java.util.List<org.apache.xmlbeans.XmlString> xgetDescriptionList();
        
        /**
         * Gets (as xml) array of all "description" elements
         * @deprecated
         */
        org.apache.xmlbeans.XmlString[] xgetDescriptionArray();
        
        /**
         * Gets (as xml) ith "description" element
         */
        org.apache.xmlbeans.XmlString xgetDescriptionArray(int i);
        
        /**
         * Returns number of "description" element
         */
        int sizeOfDescriptionArray();
        
        /**
         * Sets array of all "description" element
         */
        void setDescriptionArray(java.lang.String[] descriptionArray);
        
        /**
         * Sets ith "description" element
         */
        void setDescriptionArray(int i, java.lang.String description);
        
        /**
         * Sets (as xml) array of all "description" element
         */
        void xsetDescriptionArray(org.apache.xmlbeans.XmlString[] descriptionArray);
        
        /**
         * Sets (as xml) ith "description" element
         */
        void xsetDescriptionArray(int i, org.apache.xmlbeans.XmlString description);
        
        /**
         * Inserts the value as the ith "description" element
         */
        void insertDescription(int i, java.lang.String description);
        
        /**
         * Appends the value as the last "description" element
         */
        void addDescription(java.lang.String description);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "description" element
         */
        org.apache.xmlbeans.XmlString insertNewDescription(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "description" element
         */
        org.apache.xmlbeans.XmlString addNewDescription();
        
        /**
         * Removes the ith "description" element
         */
        void removeDescription(int i);
        
        /**
         * Gets a List of "event" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.EventDocument.Event> getEventList();
        
        /**
         * Gets array of all "event" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.EventDocument.Event[] getEventArray();
        
        /**
         * Gets ith "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event getEventArray(int i);
        
        /**
         * Returns number of "event" element
         */
        int sizeOfEventArray();
        
        /**
         * Sets array of all "event" element
         */
        void setEventArray(x2.orgJpdl3.jbpm.EventDocument.Event[] eventArray);
        
        /**
         * Sets ith "event" element
         */
        void setEventArray(int i, x2.orgJpdl3.jbpm.EventDocument.Event event);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event insertNewEvent(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "event" element
         */
        x2.orgJpdl3.jbpm.EventDocument.Event addNewEvent();
        
        /**
         * Removes the ith "event" element
         */
        void removeEvent(int i);
        
        /**
         * Gets a List of "exception-handler" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler> getExceptionHandlerList();
        
        /**
         * Gets array of all "exception-handler" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler[] getExceptionHandlerArray();
        
        /**
         * Gets ith "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler getExceptionHandlerArray(int i);
        
        /**
         * Returns number of "exception-handler" element
         */
        int sizeOfExceptionHandlerArray();
        
        /**
         * Sets array of all "exception-handler" element
         */
        void setExceptionHandlerArray(x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler[] exceptionHandlerArray);
        
        /**
         * Sets ith "exception-handler" element
         */
        void setExceptionHandlerArray(int i, x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler exceptionHandler);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler insertNewExceptionHandler(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "exception-handler" element
         */
        x2.orgJpdl3.jbpm.ExceptionHandlerDocument.ExceptionHandler addNewExceptionHandler();
        
        /**
         * Removes the ith "exception-handler" element
         */
        void removeExceptionHandler(int i);
        
        /**
         * Gets a List of "timer" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TimerDocument.Timer> getTimerList();
        
        /**
         * Gets array of all "timer" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer[] getTimerArray();
        
        /**
         * Gets ith "timer" element
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer getTimerArray(int i);
        
        /**
         * Returns number of "timer" element
         */
        int sizeOfTimerArray();
        
        /**
         * Sets array of all "timer" element
         */
        void setTimerArray(x2.orgJpdl3.jbpm.TimerDocument.Timer[] timerArray);
        
        /**
         * Sets ith "timer" element
         */
        void setTimerArray(int i, x2.orgJpdl3.jbpm.TimerDocument.Timer timer);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "timer" element
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer insertNewTimer(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "timer" element
         */
        x2.orgJpdl3.jbpm.TimerDocument.Timer addNewTimer();
        
        /**
         * Removes the ith "timer" element
         */
        void removeTimer(int i);
        
        /**
         * Gets a List of "transition" elements
         */
        java.util.List<x2.orgJpdl3.jbpm.TransitionDocument.Transition> getTransitionList();
        
        /**
         * Gets array of all "transition" elements
         * @deprecated
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition[] getTransitionArray();
        
        /**
         * Gets ith "transition" element
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition getTransitionArray(int i);
        
        /**
         * Returns number of "transition" element
         */
        int sizeOfTransitionArray();
        
        /**
         * Sets array of all "transition" element
         */
        void setTransitionArray(x2.orgJpdl3.jbpm.TransitionDocument.Transition[] transitionArray);
        
        /**
         * Sets ith "transition" element
         */
        void setTransitionArray(int i, x2.orgJpdl3.jbpm.TransitionDocument.Transition transition);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "transition" element
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition insertNewTransition(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "transition" element
         */
        x2.orgJpdl3.jbpm.TransitionDocument.Transition addNewTransition();
        
        /**
         * Removes the ith "transition" element
         */
        void removeTransition(int i);
        
        /**
         * Gets the "name" attribute
         */
        java.lang.String getName();
        
        /**
         * Gets (as xml) the "name" attribute
         */
        org.apache.xmlbeans.XmlString xgetName();
        
        /**
         * Sets the "name" attribute
         */
        void setName(java.lang.String name);
        
        /**
         * Sets (as xml) the "name" attribute
         */
        void xsetName(org.apache.xmlbeans.XmlString name);
        
        /**
         * Gets the "async" attribute
         */
        java.lang.String getAsync();
        
        /**
         * Gets (as xml) the "async" attribute
         */
        org.apache.xmlbeans.XmlString xgetAsync();
        
        /**
         * True if has "async" attribute
         */
        boolean isSetAsync();
        
        /**
         * Sets the "async" attribute
         */
        void setAsync(java.lang.String async);
        
        /**
         * Sets (as xml) the "async" attribute
         */
        void xsetAsync(org.apache.xmlbeans.XmlString async);
        
        /**
         * Unsets the "async" attribute
         */
        void unsetAsync();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static x2.orgJpdl3.jbpm.SuperStateDocument.SuperState newInstance() {
              return (x2.orgJpdl3.jbpm.SuperStateDocument.SuperState) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static x2.orgJpdl3.jbpm.SuperStateDocument.SuperState newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (x2.orgJpdl3.jbpm.SuperStateDocument.SuperState) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static x2.orgJpdl3.jbpm.SuperStateDocument newInstance() {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static x2.orgJpdl3.jbpm.SuperStateDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (x2.orgJpdl3.jbpm.SuperStateDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
